ContinueWhenAny Method

Task Parallel System.Threading

Overload List

  NameDescription
ContinueWhenAny(array<Task>[]()[], Func<(Of <(Task, TResult>)>))
Creates a continuation Task that will be started upon the completion of any Task in the provided set.
ContinueWhenAny<(Of <(TAntecedentResult>)>)(array<Task<(Of <(TAntecedentResult>)>)>[]()[], Func<(Of <(Task<(Of <(TAntecedentResult>)>), TResult>)>))
Creates a continuation Task that will be started upon the completion of any Task in the provided set.
ContinueWhenAny(array<Task>[]()[], Func<(Of <(Task, TResult>)>), CancellationToken)
Creates a continuation Task that will be started upon the completion of any Task in the provided set.
ContinueWhenAny(array<Task>[]()[], Func<(Of <(Task, TResult>)>), TaskContinuationOptions)
Creates a continuation Task that will be started upon the completion of any Task in the provided set.
ContinueWhenAny<(Of <(TAntecedentResult>)>)(array<Task<(Of <(TAntecedentResult>)>)>[]()[], Func<(Of <(Task<(Of <(TAntecedentResult>)>), TResult>)>), CancellationToken)
Creates a continuation Task that will be started upon the completion of any Task in the provided set.
ContinueWhenAny<(Of <(TAntecedentResult>)>)(array<Task<(Of <(TAntecedentResult>)>)>[]()[], Func<(Of <(Task<(Of <(TAntecedentResult>)>), TResult>)>), TaskContinuationOptions)
Creates a continuation Task that will be started upon the completion of any Task in the provided set.
ContinueWhenAny(array<Task>[]()[], Func<(Of <(Task, TResult>)>), CancellationToken, TaskContinuationOptions, TaskScheduler)
Creates a continuation Task that will be started upon the completion of any Task in the provided set.
ContinueWhenAny<(Of <(TAntecedentResult>)>)(array<Task<(Of <(TAntecedentResult>)>)>[]()[], Func<(Of <(Task<(Of <(TAntecedentResult>)>), TResult>)>), CancellationToken, TaskContinuationOptions, TaskScheduler)
Creates a continuation Task that will be started upon the completion of any Task in the provided set.

See Also